Skip to content

Conversation

DarkLight1337
Copy link
Member

Fix a failing test introduced by #17935. Turns out it's not a transient issue

@DarkLight1337 DarkLight1337 requested a review from Isotr0py May 13, 2025 09:53
@DarkLight1337 DarkLight1337 added the ready ONLY add when PR is ready to merge/full CI is needed label May 13, 2025
Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can either: Add ready label to the PR or enable auto-merge.

🚀

Comment on lines +189 to +190
# Don't keep the dummy data in memory
await async_llm.reset_mm_cache()
Copy link
Member Author

@DarkLight1337 DarkLight1337 May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, calling reset_mm_cache in V0 causes vllm:iteration_tokens_total_count metric to be offset by one. Since there is no need to sync the caches in V0, I simply removed the reset_mm_cache call from the top level since it's called inside V0 LLMEngine (which is inherited by _AsyncLLMEngine) anyway.

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) May 13, 2025 10:15
@vllm-bot vllm-bot merged commit b922c2e into vllm-project:main May 13, 2025
62 of 64 checks passed
@DarkLight1337 DarkLight1337 deleted the fix-metrics-tests branch May 13, 2025 13:43
zzzyq pushed a commit to zzzyq/vllm that referenced this pull request May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend ready ONLY add when PR is ready to merge/full CI is needed v1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants